// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.kpdus.com/jad.html
// Decompiler options: packimports(3) 
// Source File Name:   AppException.java

package com.boci.common.util;


public class AppException extends Exception
{

    public AppException(String pCode, String pMessage)
    {
        super(pMessage);
        strMessage = pMessage;
        strReturnCode = pCode;
    }

    public AppException(String pCode, String pErrorCode, String pMessage)
    {
        super(pMessage);
        strMessage = pMessage;
        strReturnCode = pCode;
        strErrorCode = pErrorCode;
    }

    public String getReturnCode()
    {
        return strReturnCode;
    }

    public String getErrorCode()
    {
        if(strErrorCode == null)
            return "";
        else
            return strErrorCode;
    }

    String strMessage;
    String strErrorCode;
    String strReturnCode;
}
